It turns out that I was getting the same errors as I was before the fix because I was using the old configuration. I had made a new configuration named 'opencloud-compose', but I was running 'opencloud' because it tab completed. Mystery solved.